﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace S.Services.SheepMale.Infrastructure.Migrations
{
    public partial class qwrt11 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "DocumentNumber",
                table: "SheepMaleInfo",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ExamineBy",
                table: "SheepMaleInfo",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<DateTime>(
                name: "ExamineDate",
                table: "SheepMaleInfo",
                type: "datetime2",
                nullable: true);

            migrationBuilder.AddColumn<DateTime>(
                name: "MaleDate",
                table: "SheepMaleInfo",
                type: "datetime2",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "SheepType",
                table: "SheepMaleInfo",
                type: "int",
                nullable: false,
                defaultValue: 0);

        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "DocumentNumber",
                table: "SheepMaleInfo");

            migrationBuilder.DropColumn(
                name: "ExamineBy",
                table: "SheepMaleInfo");

            migrationBuilder.DropColumn(
                name: "ExamineDate",
                table: "SheepMaleInfo");

            migrationBuilder.DropColumn(
                name: "MaleDate",
                table: "SheepMaleInfo");

            migrationBuilder.DropColumn(
                name: "SheepType",
                table: "SheepMaleInfo");
        }
    }
}
